package com.wanmait.recruit.util;

public class PageContext {
    private static ThreadLocal<Integer> localPageNum = new ThreadLocal<>();

    public static void setPageNum(int pageNum) {
        localPageNum.set(pageNum);
    }

    public static int getPageNum() {
        return localPageNum.get();
    }

    public static void removePageNum()
    {
        localPageNum.remove();
    }
}
